package xmu.crms.service;

import org.springframework.web.multipart.MultipartFile;
import xmu.crms.entity.SeminarGroup;
import xmu.crms.exception.ClassesNotFoundException;
import xmu.crms.exception.UserNotFoundException;

import java.math.BigInteger;

/**
 * @author badcode
 * @Date 2018/01/02
 */

public interface UploadService {

    /**
     * 上传学生名单.
     * @param file
     * @param classId
     * @param userId
     * @throws ClassesNotFoundException
     * @throws UserNotFoundException
     */
    void uploadStudentList(MultipartFile file, BigInteger classId, BigInteger userId) throws ClassesNotFoundException, UserNotFoundException;

    /**
     * 上传报告.
     * @param seminarGroup
     */
    void uploadReport(SeminarGroup seminarGroup);
}
